import os


def parse_ipynb(dirPath, questionFiles):
    files = os.listdir(dirPath)
    for file in files:
        if file == ".ipynb_checkpoints" or file == "Untitled.ipynb":
            continue
        fullPath = os.path.join(dirPath, file)
        if os.path.isdir(fullPath):
            parse_ipynb(fullPath, questionFiles)
            continue
        if file.endswith(".ipynb"):
            if "答案" in file:
                continue
            questionFiles.append(fullPath)
            continue
